package com.test.mall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "testmall.tread")
@Component
@Data
public class ThreadPoolConfigProperties {

    private Integer coreSize;//核心线程数量

    private Integer maxSize;//最大线程数量

    private Integer keepAliveTime;//存活时间

}
